const connection = require('../db/index')

const chart = (data) => {
    return new Promise((resolve, reject) => {
        resolve({
            code: 200,
            msg: "获取成功",
            data: [
                { label: "山东", value: "200" },
                { label: "北京", value: "800" },
                { label: "上海", value: "800" },
                { label: "四川", value: "300" },
                { label: "黑龙江", value: "180" },
            ],
        });
    })
}


module.exports = {
    chart
}